<?php
namespace Home\Controller;
use Home\Controller\IndexController;
class GoodsController extends IndexController 
{
    public function lst() {
        $model = D('Goods');
    	$data = $model->search();
        $this->assign(array(
        'data' => $data['data'],
        'page' => $data['page'],
    	));
            //var_dump($data);
            //var_dump($page);
        $this->display();
    }
}

